<?php
/**
 * 
 *
 * @author
 * @url
 */
$type=$_REQUEST['type'];
if($type!=1&&$type!=2){
    exit('参数错误');
}

$today=date("Y-m-d H:i:s");
$bannerlist = pdo_fetchall("SELECT * FROM ".tablename('focus')." WHERE posid=2 and starttime<'".$today."' and endtime>'".$today."'  limit 5");
$dayof=date("Y-m-d");
$datrow=pdo_fetchall("select * from ".tablename('shopping3_schedule')." where  sdate>='".$dayof."'  group by sdate");


include $this->template('wl_product');

?>